package com.zsqat.eshop.member;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

// 告诉 eshop-member 是一个远程调用客户端
@EnableFeignClients(basePackages = "com.zsqat.eshop.member.feign" )
@EnableDiscoveryClient
@SpringBootApplication
public class EShopMemberApplication {
  public static void main(String[] args) {
    SpringApplication.run(EShopMemberApplication.class, args);
  }
}
